package artid.com.arttogoa.parser;

import java.io.Serializable;

import org.json.JSONObject;

public class ConsultationInfo extends AppItem implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	String title;
	String create_time;
	String description;
	String imgurl;
	String reason;
	String author;
	String Type;
	String sharelink;
	String state;
	String content;

	@Override
	public void parse(JSONObject obj) {
		if (null == obj) {
			return;
		}
		title = obj.optString("title");
		create_time = obj.optString("create_time");
		description = obj.optString("description");
		imgurl = obj.optString("imgurl");
		reason = obj.optString("reason");
		author = obj.optString("author");
		Type = obj.optString("type");
		sharelink = obj.optString("sharelink");
		state = obj.optString("state");
		content = obj.optString("content");
	}



	public String getContent() {
		return content;
	}



	public void setContent(String content) {
		this.content = content;
	}



	public String getState() {
		return state;
	}



	public void setState(String state) {
		this.state = state;
	}



	public String getTitle() {
		return title;
	}



	public void setTitle(String title) {
		this.title = title;
	}



	public String getCreate_time() {
		return create_time;
	}



	public void setCreate_time(String create_time) {
		this.create_time = create_time;
	}



	public String getDescription() {
		return description;
	}



	public void setDescription(String description) {
		this.description = description;
	}



	public String getImgurl() {
		return imgurl;
	}



	public void setImgurl(String imgurl) {
		this.imgurl = imgurl;
	}



	public String getReason() {
		return reason;
	}



	public void setReason(String reason) {
		this.reason = reason;
	}



	public String getAuthor() {
		return author;
	}



	public void setAuthor(String author) {
		this.author = author;
	}



	public String getType() {
		return Type;
	}



	public void setType(String type) {
		Type = type;
	}



	public String getSharelink() {
		return sharelink;
	}



	public void setSharelink(String sharelink) {
		this.sharelink = sharelink;
	}



	@Override
	public String toString() {
		return "ConsultationInfo [title=" + title + ", create_time="
				+ create_time + ", description=" + description + ", imgurl="
				+ imgurl + ", reason=" + reason + ", author=" + author
				+ ", Type=" + Type + ", sharelink=" + sharelink + "]";
	}



	

}
